package com.shd.edanpei.presenter.contract;

import android.widget.TextView;

import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;

public interface ForgetPwdContract {

    interface ForgetPwdIView extends BaseIView {

        TextView getCodeView();
    }

    interface ForgetPwdIPresenter extends BaseIPresenter {

        void getCode(String phone,int type);

        void submit(int type, String phone, String code, String password1, String password2);

        void submit(int type, String phone, String code, String oldPwd, String password1, String password2);

    }
}
